"""tenpro URL Configuration

The `urlpatterns` list routes URLs to views.py. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views.py
    1. Add an import:  from my_app import views.py
    2. Add a URL to urlpatterns:  path('', views.py.home, name='home')
Class-based views.py
    1. Add an import:  from other_app.views.py import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.urls import path
from . import views
urlpatterns = [
    path('labels/',views.AllLabelsView.as_view()),
    path('labels/users/',views.UserLabelsView.as_view()),
    path('labels/full/',views.UserLabelsFullView.as_view()),
    path('labels/<id>/focusin/',views.UserLikeLabelsView.as_view()),
    path('labels/<id>/focusout/',views.UserUnLikeLabelsView.as_view()),
    path('labels/<id>/',views.LabelsView.as_view()),
    path('questions/<id>/label/new/',views.LabelsQuestionView.as_view()),
    path('questions/<id>/label/hot/',views.HotLabelsQuestionView.as_view()),
    path('questions/<id>/label/wait/',views.WaitLabelsQuestionView.as_view()),
    path('questions/',views.CreateQuestionsView.as_view()),
    path('questions/<id>/',views.GetQuestionsView.as_view()),
    path('questions/<id>/useful/',views.UseFulQuestionView.as_view()),
    path('questions/<id>/unuseful/',views.UnUseFulQuestionView.as_view()),
    path('reply/',views.CreateReplyView.as_view()),
    path('reply/<id>/useful/',views.UsefulReplyView.as_view()),
    path('reply/<id>/unuseful/',views.UnUsefulReplyView.as_view()),
]
